﻿using System;

namespace 函数练习
{
    class Program
    {
        static void Main(string[] args)
        {
          double a= Ace(10, 20);
            Console.WriteLine(a);
        }
        public static double Ace(int a,int b)
        {
            return (a + b) / 2;
        }
    }
}
